import request from '@/utils/request'

// 查询biz_门店积分记录列表
export function listStorePointsRecord(query) {
  return request({
    url: '/biz/storePointsRecord/list',
    method: 'get',
    params: query
  })
}

// 查询biz_门店积分记录详细
export function getStorePointsRecord(id) {
  return request({
    url: '/biz/storePointsRecord/' + id,
    method: 'get'
  })
}

// 新增biz_门店积分记录
export function addStorePointsRecord(data) {
  return request({
    url: '/biz/storePointsRecord',
    method: 'post',
    data: data
  })
}

// 修改biz_门店积分记录
export function updateStorePointsRecord(data) {
  return request({
    url: '/biz/storePointsRecord',
    method: 'put',
    data: data
  })
}

// 删除biz_门店积分记录
export function delStorePointsRecord(id) {
  return request({
    url: '/biz/storePointsRecord/' + id,
    method: 'delete'
  })
}
